
package com.zcxk.dto;

  import lombok.Getter;

  import java.util.List;

@Getter
public class TimeValueWithFirstTimeDTO {
  /**
   * 时间戳（毫秒）
   */
  private Long firstTime;

  /**
   * 点位间隔
   */
  private Integer pointInterval;

  /**
   * 值列表
   */
  private List<Integer> values;

  public TimeValueWithFirstTimeDTO setFirstTime(Long firstTime) {
    this.firstTime = firstTime;
    return this;
  }

  public TimeValueWithFirstTimeDTO setPointInterval(Integer pointInterval) {
    this.pointInterval = pointInterval;
    return this;
  }

  public TimeValueWithFirstTimeDTO setValues(List<Integer> values) {
    this.values = values;
    return this;
  }
}
